C++ prefers const
Although #define still appears in some headers—especially those designed for both C and C++—modern C++ favors:
const int MAX_VALUE = 32767;
or even constexpr:
constexpr int MAX_VALUE = 32767;
These are safer and provide type checking, scoping, and better debugging.
Links:
<climits>